package com.th.supcom.pds.common.client.model;

import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * PdsSupplyDetail UI模型.
 * 
 * 供药单明细表.
 */
public class PdsSupplyDetailModel extends BaseModelData implements java.io.Serializable
{

    private static final long serialVersionUID = 1L;

    /**
     * 默认构造器 .
     */
    public PdsSupplyDetailModel ()
    {
    }

    /**
     * 获取供药单详情ID.
     * 
     * @return the supplyDetailId
     */
    public Long getSupplyDetailId ()
    {
        return get ("supplyDetailId");
    }

    /**
     * 设置供药单详情ID.
     * 
     * @param supplyDetailId the supplyDetailId to set.
     */
    public void setSupplyDetailId (Long supplyDetailId)
    {
        set ("supplyDetailId", supplyDetailId);
    }

    /**
     * 获取 最小单位与剂量单位换算系数
     * 
     * @return
     */
    public Double getDosePerUnit ()
    {
        return get ("dosePerUnit");
    }

    /**
     * 设置 最小单位与剂量单位换算系数
     * 
     * @param dosePerUnit
     */
    public void setDosePerUnit (Double dosePerUnit)
    {
        set ("dosePerUnit", dosePerUnit);
    }

    /**
     * @return
     */
    public String getUsageCodName ()
    {
        return get ("usageCodName");
    }

    /**
     * @param usageCodName
     */
    public void setUsageCodName (String usageCodName)
    {
        set ("usageCodName", usageCodName);
    }

    /**
     * 获取如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @return the packageUnit
     */
    public String getPackageUnit ()
    {
        return get ("packageUnit");
    }

    /**
     * 设置如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @param packageUnit the packageUnit to set.
     */
    public void setPackageUnit (String packageUnit)
    {
        set ("packageUnit", packageUnit);
    }

    /**
     * 包装价格
     * 
     * @return
     */
    public Double getPackagePrice ()
    {
        return get ("packagePrice");
    }

    /**
     * 包装价格
     * 
     * @param packagePrice
     */
    public void setPackagePrice (Double packagePrice)
    {
        set ("packagePrice", packagePrice);
    }

    /**
     * 获取供药ID.
     * 
     * @return the supplyId
     */
    public Long getSupplyId ()
    {
        return get ("supplyId");
    }

    /**
     * 设置供药ID.
     * 
     * @param supplyId the supplyId to set.
     */
    public void setSupplyId (Long supplyId)
    {
        set ("supplyId", supplyId);
    }

    /**
     * 获取供药过程ID.
     * 
     * @return the proId
     */
    public Long getProId ()
    {
        return get ("proId");
    }

    /**
     * 设置供药过程ID.
     * 
     * @param proId the proId to set.
     */
    public void setProId (Long proId)
    {
        set ("proId", proId);
    }

    /**
     * 获取住院医嘱编码.
     * 
     * @return the orderId
     */
    public Long getOrderId ()
    {
        return get ("orderId");
    }

    /**
     * 设置住院医嘱编码.
     * 
     * @param orderId the orderId to set.
     */
    public void setOrderId (Long orderId)
    {
        set ("orderId", orderId);
    }

    /**
     * 获取处方单号.
     * 
     * @return the prescNo
     */
    public String getPrescNo ()
    {
        return get ("prescNo");
    }

    /**
     * 设置处方单号.
     * 
     * @param prescNo the prescNo to set.
     */
    public void setPrescNo (String prescNo)
    {
        set ("prescNo", prescNo);
    }

    /**
     * 获取门诊医嘱子表ID.
     * 
     * @return the orderItemDetailId
     */
    public Long getOrderItemDetailId ()
    {
        return get ("orderItemDetailId");
    }

    /**
     * 设置门诊医嘱子表ID.
     * 
     * @param orderItemDetailId the orderItemDetailId to set.
     */
    public void setOrderItemDetailId (Long orderItemDetailId)
    {
        set ("orderItemDetailId", orderItemDetailId);
    }

    /**
     * 获取是否皮试0-否1-是.
     * 
     * @return the isSt
     */
    public String getIsSt ()
    {
        return get ("isSt");
    }

    /**
     * 设置是否皮试0-否1-是.
     * 
     * @param isSt the isSt to set.
     */
    public void setIsSt (String isSt)
    {
        set ("isSt", isSt);
    }

    /**
     * 获取在院输液0=在院输液1=不在院输液.
     * 
     * @return the infusionFlag
     */
    public Integer getInfusionFlag ()
    {
        return get ("infusionFlag");
    }

    /**
     * 设置在院输液0=在院输液1=不在院输液.
     * 
     * @param infusionFlag the infusionFlag to set.
     */
    public void setInfusionFlag (Integer infusionFlag)
    {
        set ("infusionFlag", infusionFlag);
    }

    /**
     * 获取静脉药物配置中心(Pharmacy Intravenous Admixture Services，PIVAS为其缩写).
     * 
     * @return the pivas
     */
    public Integer getPivas ()
    {
        return get ("pivas");
    }

    /**
     * 设置静脉药物配置中心(Pharmacy Intravenous Admixture Services，PIVAS为其缩写).
     * 
     * @param pivas the pivas to set.
     */
    public void setPivas (Integer pivas)
    {
        set ("pivas", pivas);
    }

    /**
     * 获取项目分类(西药、中成药).
     * 
     * @return the phamType
     */
    public String getPhamType ()
    {
        return get ("phamType");
    }

    /**
     * 设置项目分类(西药、中成药).
     * 
     * @param phamType the phamType to set.
     */
    public void setPhamType (String phamType)
    {
        set ("phamType", phamType);
    }

    /**
     * 获取药名编码.
     * 
     * @return the phamStdCode
     */
    public String getPhamStdCode ()
    {
        return get ("phamStdCode");
    }

    /**
     * 设置药名编码.
     * 
     * @param phamStdCode the phamStdCode to set.
     */
    public void setPhamStdCode (String phamStdCode)
    {
        set ("phamStdCode", phamStdCode);
    }

    /**
     * 获取药品名称.
     * 
     * @return the phamName
     */
    public String getPhamName ()
    {
        return get ("phamName");
    }

    /**
     * 设置药品名称.
     * 
     * @param phamName the phamName to set.
     */
    public void setPhamName (String phamName)
    {
        set ("phamName", phamName);
    }

    /**
     * 获取项目规格.
     * 
     * @return the phamSpec
     */
    public String getPhamSpec ()
    {
        return get ("phamSpec");
    }

    /**
     * 设置项目规格.
     * 
     * @param phamSpec the phamSpec to set.
     */
    public void setPhamSpec (String phamSpec)
    {
        set ("phamSpec", phamSpec);
    }

    /**
     * 获取单次剂量数（特殊情况下，有可能有多个值，以分号隔开，如胰岛素，早 8u、中 12u、晚10u 每次不一样）.
     * 
     * @return the perMedQty
     */
    public String getPerMedQty ()
    {
        return get ("perMedQty");
    }

    /**
     * 设置单次剂量数（特殊情况下，有可能有多个值，以分号隔开，如胰岛素，早 8u、中 12u、晚10u 每次不一样）.
     * 
     * @param perMedQty the perMedQty to set.
     */
    public void setPerMedQty (String perMedQty)
    {
        set ("perMedQty", perMedQty);
    }

    /**
     * 获取毒理分类（字典TJ0017 药品毒理分类）.
     * 
     * @return the toxicologyProperty
     */
    public String getToxicologyProperty ()
    {
        return get ("toxicologyProperty");
    }

    /**
     * 设置毒理分类（字典TJ0017 药品毒理分类）.
     * 
     * @param toxicologyProperty the toxicologyProperty to set.
     */
    public void setToxicologyProperty (String toxicologyProperty)
    {
        set ("toxicologyProperty", toxicologyProperty);
    }

    /**
     * 获取草药制法(字典表).
     * 
     * @return the herbDecoct
     */
    public String getHerbDecoct ()
    {
        return get ("herbDecoct");
    }

    /**
     * 设置草药制法(字典表).
     * 
     * @param herbDecoct the herbDecoct to set.
     */
    public void setHerbDecoct (String herbDecoct)
    {
        set ("herbDecoct", herbDecoct);
    }

    /**
     * 获取单次剂量单位.
     * 
     * @return the medUnit
     */
    public String getMedUnit ()
    {
        return get ("medUnit");
    }

    /**
     * 设置单次剂量单位.
     * 
     * @param medUnit the medUnit to set.
     */
    public void setMedUnit (String medUnit)
    {
        set ("medUnit", medUnit);
    }

    /**
     * 获取见给药途径字典COMM.ADMINISTRATION_DICT.
     * 
     * @return the usageCod
     */
    public String getUsageCod ()
    {
        return get ("usageCod");
    }

    /**
     * 设置见给药途径字典COMM.ADMINISTRATION_DICT.
     * 
     * @param usageCod the usageCod to set.
     */
    public void setUsageCod (String usageCod)
    {
        set ("usageCod", usageCod);
    }

    /**
     * 获取医嘱医疗频率.
     * 
     * @return the freqCode
     */
    public String getFreqCode ()
    {
        return get ("freqCode");
    }

    /**
     * 设置医嘱医疗频率.
     * 
     * @param freqCode the freqCode to set.
     */
    public void setFreqCode (String freqCode)
    {
        set ("freqCode", freqCode);
    }

    /**
     * 获取医嘱医疗频率.
     * 
     * @return the freqCode
     */
    public String getFreqCodeName ()
    {
        return get ("freqCodeName");
    }

    /**
     * 设置医嘱医疗频率.
     * 
     * @param freqCode the freqCode to set.
     */
    public void setFreqCodeName (String freqCodeName)
    {
        set ("freqCodeName", freqCodeName);
    }

    /**
     * 获取医嘱医疗频率执行描述（频次时间点以及用量相关信息).
     * 
     * @return the freqTimeQty
     */
    public String getFreqTimeQty ()
    {
        return get ("freqTimeQty");
    }

    /**
     * 设置医嘱医疗频率执行描述（频次时间点以及用量相关信息).
     * 
     * @param freqTimeQty the freqTimeQty to set.
     */
    public void setFreqTimeQty (String freqTimeQty)
    {
        set ("freqTimeQty", freqTimeQty);
    }

    /**
     * 获取如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @return the unitName
     */
    public String getUnitName ()
    {
        return get ("unitName");
    }

    /**
     * 设置如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @param unitName the unitName to set.
     */
    public void setUnitName (String unitName)
    {
        set ("unitName", unitName);
    }

    /**
     * 获取按包装算.
     * 
     * @return the unitQty
     */
    public Double getUnitQty ()
    {
        return get ("unitQty");
    }

    /**
     * 设置按包装算.
     * 
     * @param unitQty the unitQty to set.
     */
    public void setUnitQty (Double unitQty)
    {
        set ("unitQty", unitQty);
    }

    /**
     * 设置退药数量.
     * 
     * @param unitQty the unitQty to set.
     */
    public void setReturnQty (Double returnQty)
    {
        set ("returnQty", returnQty);
    }

    /**
     * 获取退药数量.
     * 
     * @return the unitQty
     */
    public Double getReturnQty ()
    {
        Object object = get ("returnQty");
        if (object == null)
        {
            return null;
        }
        Double returnQty = Double.parseDouble ((String) object);
        return returnQty;
    }

    /**
     * 获取总数量单位与基本(最小)单位的换算系数.
     * 
     * @return the factor
     */
    public Double getFactor ()
    {
        return get ("factor");
    }

    /**
     * 设置总数量单位与基本(最小)单位的换算系数.
     * 
     * @param factor the factor to set.
     */
    public void setFactor (Double factor)
    {
        set ("factor", factor);
    }

    /**
     * 获取总数量.
     * 
     * @return the qtySum
     */
    public Double getQtySum ()
    {
        return get ("qtySum");
    }

    /**
     * 设置总数量.
     * 
     * @param qtySum the qtySum to set.
     */
    public void setQtySum (Double qtySum)
    {
        set ("qtySum", qtySum);
    }

    /**
     * 获取总数量单位.
     * 
     * @return the qtyUnit
     */
    public String getQtyUnit ()
    {
        return get ("qtyUnit");
    }

    /**
     * 设置总数量单位.
     * 
     * @param qtyUnit the qtyUnit to set.
     */
    public void setQtyUnit (String qtyUnit)
    {
        set ("qtyUnit", qtyUnit);
    }

    /**
     * 获取出院带药医嘱周期数量.
     * 
     * @return the durationQty
     */
    public Double getDurationQty ()
    {
        return get ("durationQty");
    }

    /**
     * 设置出院带药医嘱周期数量.
     * 
     * @param durationQty the durationQty to set.
     */
    public void setDurationQty (Double durationQty)
    {
        set ("durationQty", durationQty);
    }

    /**
     * 获取出院带药医嘱周期单位.
     * 
     * @return the durationUnit
     */
    public String getDurationUnit ()
    {
        return get ("durationUnit");
    }

    /**
     * 设置出院带药医嘱周期单位.
     * 
     * @param durationUnit the durationUnit to set.
     */
    public void setDurationUnit (String durationUnit)
    {
        set ("durationUnit", durationUnit);
    }

    /**
     * 获取是否组合医嘱(0否1是).
     * 
     * @return the isGroupOrder
     */
    public String getIsGroupOrder ()
    {
        return get ("isGroupOrder");
    }

    /**
     * 设置是否组合医嘱(0否1是).
     * 
     * @param isGroupOrder the isGroupOrder to set.
     */
    public void setIsGroupOrder (String isGroupOrder)
    {
        set ("isGroupOrder", isGroupOrder);
    }

    /**
     * 获取执行科室.
     * 
     * @return the performedBy
     */
    public String getPerformedBy ()
    {
        return get ("performedBy");
    }

    /**
     * 设置执行科室.
     * 
     * @param performedBy the performedBy to set.
     */
    public void setPerformedBy (String performedBy)
    {
        set ("performedBy", performedBy);
    }

    /**
     * 获取序号.
     * 
     * @return the sortNumber
     */
    public Long getSortNumber ()
    {
        return get ("sortNumber");
    }

    /**
     * 设置序号.
     * 
     * @param sortNumber the sortNumber to set.
     */
    public void setSortNumber (Long sortNumber)
    {
        set ("sortNumber", sortNumber);
    }

    /**
     * 获取按批发价格计算得到的费用划价采集
     * 
     * 用于院内职工批价优惠就医。.
     * 
     * @return the tradeCosts
     */
    public Double getTradeCosts ()
    {
        return get ("tradeCosts");
    }

    /**
     * 设置按批发价格计算得到的费用划价采集
     * 
     * 用于院内职工批价优惠就医。.
     * 
     * @param tradeCosts the tradeCosts to set.
     */
    public void setTradeCosts (Double tradeCosts)
    {
        set ("tradeCosts", tradeCosts);
    }

    /**
     * 获取按标准价格计算得到的费用划价采集.
     * 
     * @return the costs
     */
    public Double getCosts ()
    {
        return get ("costs");
    }

    /**
     * 设置按标准价格计算得到的费用划价采集.
     * 
     * @param costs the costs to set.
     */
    public void setCosts (Double costs)
    {
        set ("costs", costs);
    }

    /**
     * 获取药品级别代码.
     * 
     * @return the officialDrugLevel
     */
    public String getOfficialDrugLevel ()
    {
        return get ("officialDrugLevel");
    }

    /**
     * 设置药品级别代码.
     * 
     * @param officialDrugLevel the officialDrugLevel to set.
     */
    public void setOfficialDrugLevel (String officialDrugLevel)
    {
        set ("officialDrugLevel", officialDrugLevel);
    }

    /**
     * 获取有效期.
     * 
     * @return the receiptDate
     */
    public Date getReceiptDate ()
    {
        return get ("receiptDate");
    }

    /**
     * 设置有效期.
     * 
     * @param receiptDate the receiptDate to set.
     */
    public void setReceiptDate (Date receiptDate)
    {
        set ("receiptDate", receiptDate);
    }

    /**
     * 获取批次号.
     * 
     * @return the phamBatchNumber
     */
    public String getPhamBatchNumber ()
    {
        return get ("phamBatchNumber");
    }

    /**
     * 设置批次号.
     * 
     * @param phamBatchNumber the phamBatchNumber to set.
     */
    public void setPhamBatchNumber (String phamBatchNumber)
    {
        set ("phamBatchNumber", phamBatchNumber);
    }

    /**
     * 获取原供药单详情ID.
     * 
     * @return the oldSupplyDetailId
     */
    public Long getOldSupplyDetailId ()
    {
        return get ("oldSupplyDetailId");
    }

    /**
     * 设置原供药单详情ID.
     * 
     * @param oldSupplyDetailId the oldSupplyDetailId to set.
     */
    public void setOldSupplyDetailId (Long oldSupplyDetailId)
    {
        set ("oldSupplyDetailId", oldSupplyDetailId);
    }

    public Double getRetailPrice ()
    {
        return get ("retailPrice");
    }

    public void setRetailPrice (Double retailPrice)
    {
        set ("retailPrice", retailPrice);
    }

    public String getStockFlag ()
    {
        return get ("stockFlag");
    }

    public void setStockFlag (String stockFlag)
    {
        set ("stockFlag", stockFlag);
    }

    /**
     * 获取货位号
     * 
     * @return
     */
    public String getAllocation ()
    {
        return get ("allocation");
    }

    /**
     * 设置货位号
     * 
     * @param allocation
     */
    public void setAllocation (String allocation)
    {
        set ("allocation", allocation);
    }

    /**
     * 获取是否皮试名称
     * 
     * @return Add by yangchong
     */
    public String getIsStName ()
    {
        return get ("isStName");
    }

    /**
     * 设置首府皮试名称
     * 
     * @param isStName Add by yangchong
     */
    public void setIsStName (String isStName)
    {
        set ("isStName", isStName);
    }

    /**
     * 获取是否静配名称
     * 
     * @return Add by yangchong
     */
    public String getInfusionName ()
    {
        return get ("infusionName");
    }

    /**
     * 设置是否静配名称
     * 
     * @param infusionName Add by yangchong
     */
    public void setInfusionName (String infusionName)
    {
        set ("infusionName", infusionName);
    }

    /**
     * 获取单次剂量单位名称
     * 
     * @return Add by yangchong
     */
    public String getMedUnitName ()
    {
        return get ("medUnitName");
    }

    /**
     * 设置单次剂量单位名称
     * 
     * @param medUnitName Add by yangchong
     */
    public void setMedUnitName (String medUnitName)
    {
        set ("medUnitName", medUnitName);
    }

    /**
     * 获取总数量单位名称
     * 
     * @return Add by yangchong
     */
    public String getQtyUnitName ()
    {
        return get ("qtyUnitName");
    }

    /**
     * 设置总数量单位名称
     * 
     * @param qtyUnitName Add by yangchong
     */
    public void setQtyUnitName (String qtyUnitName)
    {
        set ("qtyUnitName", qtyUnitName);
    }

    /**
     * 获取周期单位名称
     * 
     * @return Add by yangchong
     */
    public String getDurationUnitName ()
    {
        return get ("durationUnitName");
    }

    /**
     * 设置周期单位名称
     * 
     * @param durationUnitName Add by yangchong
     */
    public void setDurationUnitName (String durationUnitName)
    {
        set ("durationUnitName", durationUnitName);
    }

    /**
     * 获取执行科室名称
     * 
     * @return Add by yangchong
     */
    public String getPerformedByName ()
    {
        return get ("performedByName");
    }

    /**
     * 设置执行科室名称
     * 
     * @param performedByName Add by yangchong
     */
    public void setPerformedByName (String performedByName)
    {
        set ("performedByName", performedByName);
    }

    /**
     * 获取如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @return the packageUnit
     */
    public String getPackageUnitName ()
    {
        return get ("packageUnitName");
    }

    /**
     * 设置如瓶、包等，使用规范描述，见计量单位字典.
     * 
     * @param packageUnit the packageUnit to set.
     */
    public void setPackageUnitName (String packageUnitName)
    {
        set ("packageUnitName", packageUnitName);
    }

    /**
     * 获取患者住院号
     * 
     * @return
     */
    public String getPatientId ()
    {
        return get ("patientId");
    }

    /**
     * 设置患者住院号
     * 
     * @param patientId
     */
    public void setPatientId (String patientId)
    {
        set ("patientId", patientId);
    }

    /**
     * 获取患者住院流水号
     * 
     * @return
     */
    public Long getPatientVisitId ()
    {
        return get ("patientVisitId");
    }

    /**
     * 设置患者住院流水号
     * 
     * @param patientVisitId
     */
    public void setPatientVisitId (Long patientVisitId)
    {
        set ("patientVisitId", patientVisitId);
    }

    /**
     * 获取患者类别
     * 
     * @return
     */
    public Integer getPrescSource ()
    {
        return get ("prescSource");
    }

    /**
     * 设置患者类别
     * 
     * @param prescSource
     */
    public void setPrescSource (Integer prescSource)
    {
        set ("prescSource", prescSource);
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2015, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}